package com.ywdnf.gomoku.model.message;

import lombok.Getter;
import lombok.Setter;

/**
 * TODO
 *
 * @author lss
 * @date 2019-06-26, Wed
 */
@Getter
@Setter
public class GmkResponse extends BaseMsg {

  /**
   * 普通的消息
   */
  public static final int RESPONSE_TYPE_COMMON = 0;

  /**
   * data0携带顶部消息model
   */
  public static final int RESPONSE_TYPE_SHOW_TOP_MSG = 1;

  /**
   * data0携带右侧消息model
   */
  public static final int RESPONSE_TYPE_SHOW_RIGHT_MSG = 2;

  /**
   * data0携带左侧消息model
   */
  public static final int RESPONSE_TYPE_SHOW_LEFT_MSG = 3;

  /**
   * data0携带确认框信息
   */
  public static final int RESPONSE_TYPE_SHOW_CONFIRM_DIALOG = 11;

  /**
   * 显示消息类型抑或返回响应结果
   */
  private int responseType;

  /**
   * 操作编号
   */
  private int funNo;

  public GmkResponse(int responseType) {
    this.responseType = responseType;
  }
}
